docs: Properly deprecate gdk_keymap_get_default()
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 11 Feb 2018 15:07:24 +0000 (15:07 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 11 Feb 2018 23:28:50 +0000 (23:28 +0000)
We're using a compiler annotation, but there's no deprecation notice in
the gtk-doc stanza.

gdk/gdkkeys.c

index 467e063ad554268399394cf1313dbf9b48b80f64..27e8f8bebf58ecff1144a77cb99b5a6db60622ca 100644 (file)
@@ -277,6 +277,8 @@ gdk_keyval_is_lower (guint keyval)
  * Returns the #GdkKeymap attached to the default display.
  *
  * Returns: (transfer none): the #GdkKeymap attached to the default display.
+ *
+ * Deprecated: 3.22: Use gdk_keymap_get_for_display() instead
  */
 GdkKeymap*
 gdk_keymap_get_default (void)